package com.aggregate.pay.sanstar.support.client;

import com.aggregate.pay.sanstar.PageResult;
import com.aggregate.pay.sanstar.bean.PayOrder;
import com.aggregate.pay.sanstar.bean.StatisticsPayData;
import com.aggregate.pay.sanstar.bean.StatisticsPayResult;
import com.aggregate.pay.sanstar.support.AbstractClient;
import com.aggregate.pay.sanstar.support.Factory;
import com.aggregate.pay.sanstar.support.Merch;

/**
 * 支付交易查询接口
 * @author Moyq5
 * @date 2019年12月13日
 */
public class StatisticsPay extends AbstractClient<StatisticsPayData, PageResult<PayOrder>> {

	public StatisticsPay(Merch merch) {
		super(merch);
	}

	@Override
	protected String getServerPath() {
		return Factory.getConfig().getServerPath() + "/statistics/page/pay";
	}

    @Override
    protected Class<StatisticsPayResult> getResultClass() {
        return StatisticsPayResult.class;
    }
    
}
